LearnerAssignmentProperties Class

Represents properties of a SharePoint Learning Kit learner assignment (i.e. the information about an assignment related to one of the learners of the assignment). These are properties generally accessible to the learner.

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public class LearnerAssignmentProperties

Properties
Name Description
Ð AssignmentId

Gets the identifier of the assignment that this learner assignment is associated with.

Ð AttemptId

Gets the AttemptId of this learner assignment. null if the assignment is a non-e-learning assignment, or if it's an e-learning assignment which the learner hasn't yet launched for the first time.

Ð AutoReturn

Gets a value indicating whether each learner assignment associated with this assignment should automatically be returned to the learner when the learner marks it as complete (after auto-grading), rather than requiring an instructor to manually return the assignment to the student.

Ð CompletionStatus

Gets a CompletionStatus value indicating whether the SCORM 2005 package associated with this content considers the content to be completed by the learner. This property is only used for assignments of SCORM 2004 packages; CompletionStatus.Unknown is returned for SCORM 1.2 and Class Server LRM assignments.

Ð CreatedById

Gets the UserItemIdentifier of the user who created the assignment.

Ð CreatedByName

Gets the name of the user who created the assignment.

Ð Description

Gets the description of the assignment.

Ð DueDate

Gets the due date/time of the assignment. null if there is no due date. Unlike the related value stored in the SharePoint Learning Kit database, this value is a local date/time, not a UTC value.

Ð FinalPoints

Gets the number of points the learner received on this learner assignment. When the learner submits the assignment, FinalPoints is initially the same as GradedPoints, but the instructor may manually change the value of FinalPoint. For example, the instructor may award bonus points to the learner.

Ð GradedPoints

Gets the number of points the learner received from automatic and manual grading of the learner assignment. If the content type does not support grading, or if the grade is "blank", GradedPoints will be null.

Ð HasInstructors

Gets a value that indicates whether the assignment associated with this learner assignment has instructors. This value is false in the case of a self-assigned assignment.

Ð InstructorComments

Gets comments from the instructor (if any) on this learner assignment; String.Empty if none.

Ð LearnerAssignmentId

Gets the identifier of the learner assignment represented by this object.

Ð LearnerId

Gets the UserItemIdentifier of the user that this learner assignment is assigned to.

Ð LearnerName

Gets the name of the user that this learner assignment is assigned to.

Ð Location

Gets the MLC SharePoint location string of the e-learning package or non-e-learning document associated with the assignment.

Ð PointsPossible

Gets the nominal maximum number of points possible for the assignment. null if points possible is not specified.

Ð RootActivityId

Gets the identifier of the root activity of the e-learning package (SCORM or LRM) that this assignment is associated with. null if a non-e-learning document is associated with the assignment.

Ð ShowAnswersToLearners

Gets a value that indicates whether answers will be shown to the learner when a learner assignment associated with the assignment is returned to the learner. This only applies to certain types of e-learning content.

Ð SPSiteGuid

Gets the Guid of the SPSite that contains the SPWeb that the assignment is associated with.

Ð SPWebGuid

Gets the Guid of the SPWeb that the assignment is associated with.

Ð StartDate

Gets the date/time that the assignment starts. Unlike the related value stored in the SharePoint Learning Kit database, this value is a local date/time, not a UTC value.

Ð Status

Gets the LearnerAssignmentState of this learner assignment.

Ð SuccessStatus

Gets a SuccessStatus value indicating whether the SCORM package associated with this content considers the learner to have succeeded (as defined by the content). This property is only used for assignments of SCORM 2004 packages; SuccessStatus.Unknown is returned for SCORM 1.2 and Class Server LRM assignments.

Ð Title

Gets the title of the assignment.